testsuite/notify: Don't fiddle with GtkWidget::visible
authorJonas Ådahl <jadahl@gmail.com>
Mon, 7 Dec 2020 21:41:36 +0000 (22:41 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Mon, 7 Dec 2020 21:41:36 +0000 (22:41 +0100)
It may map toplevel windows with arbitrary modes, which will effect
other properties, such as GtkWindow::maximized and
GtkWindow::fullscreen.

testsuite/gtk/notify.c

index 12ae9edb89ec6f639bbe83152422799cde27c0ad..7809d4e915a0d45e8fc264eb17dae0695e79aa16 100644 (file)
@@ -524,7 +524,8 @@ test_type (gconstpointer data)
            g_str_equal (pspec->name, "has-default") ||
            g_str_equal (pspec->name, "is-focus") ||
            g_str_equal (pspec->name, "hexpand") ||
-           g_str_equal (pspec->name, "vexpand")))
+           g_str_equal (pspec->name, "vexpand") ||
+           g_str_equal (pspec->name, "visible")))
         continue;
 
       if (g_type_is_a (type, GTK_TYPE_ACCESSIBLE) &&